package com.example.crossborderecommerce.mapper;

import com.example.crossborderecommerce.entity.LogisticsProviderOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Mapper
public interface LogisticsProviderOrderMapper extends BaseMapper<LogisticsProviderOrder> {
    public Double getLogisticProviderCost();
    public Double getLogisticProviderCostDuration(String startTime, String endTime);
    public Integer getLogisticProviderOrderQuantityByStatus(String status);
    public Integer getLogisticProviderOrderQuantityByChannel(String logisticsChannels);
    public Double getLogisticProviderOrderPriceByChannel(String logisticsChannels);
    public Integer getLogisticProviderOrderCommodityQuantityByChannel(String logisticsChannels);
    public Integer getLogisticProviderOrderCommodityQuantityByName(String name);
    public Integer getLogisticProviderOrderCommodityQuantity();
    public Integer getLogisticProviderQuantityDuration(String startTime, String endTime);
    public Integer getLogisticProviderOrderQuantityDuration(String startTime, String endTime);
    public Integer getLogisticProviderOrderQuantityByName(String name);
    public LogisticsProviderOrder getByCustomerOrderId(String customerOrderId);
}
